<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>深入了解组件-局部组件的注册</title>
		<!-- 开发环境版本，包含了有帮助的命令行警告 -->
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
	</head>
	<body>
		<script type="text/javascript">
			
			var component_a = {
				
			};
			var component_b = {
				componets: {
					"component-a": component_a
				}
			}
			
			new Vue({
				el: "#app",
				components:{
					"component-a": component_a,
					'component-b': component_b
				}
			})
			 
			 
		</script>
	</body>
</html>
